WeglotWP\Actions\Front\Translate_Page_Weglot B

Total Complexity 96
Dependencies 13
Dependents 0
Total lines 558
Lines of code 358
Logical lines of code 208
Comment lines 158
Methods 14
Properties 8

Methods 14

Method Rating Maintainability Complexity Lines of code
weglot_dynamics()
A
41 11 62
enqueue_switcher_templatefile()
A
46 12 37
weglot_init()
A
46 11 38
check_need_to_redirect()
A
55 12 18
hooks()
A
50 11 25
weglot_custom_settings()
A
43 8 48
no_translate_action_ajax()
A
49 7 32
prepare_request_uri()
S
50 7 28
manage_trailing_slash()
S
52 6 25
weglot_href_lang()
S
60 4 14
check_custom_redirect()
S
60 3 12
prepare_rtl_language()
S
69 2 7
__construct()
S
65 1 9
ends_with_slash()
S
78 1 3